import { ref } from "vue";
import service from "../index.js";

const accountApiUser = {
    // 获取餐饮账单
    selectByOrder(){
        return service.get('/user/order')
    },
    // 获取住宿账单
    selectByOcc(){
        return service.get('/selectByOrder')
    },
    // 获取护理账单
    selectByReService(){
        return service.get('/user/reservation')
    },
    // 完成用户支付
    pay(){
        return service.put('/user/account/pay')
    }
    
}
export default accountApiUser;